package com.hongyuan.sellfitness.ui.home.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hongyuan.sellfitness.R;
import com.hongyuan.sellfitness.ui.home.beans.HomeMyCardsBean;

public class SelectCardAdapter extends BaseQuickAdapter<HomeMyCardsBean.ListBean, BaseViewHolder> {

    public SelectCardAdapter(){
        super(R.layout.item_slect_card);
    }
    @Override
    protected void convert(BaseViewHolder helper, HomeMyCardsBean.ListBean item) {
        helper.setText(R.id.cardName,item.getCard_name()).setText(R.id.cardStore,item.getOs_names())
                .addOnClickListener(R.id.show);
    }
}
